package com.attendance.www.hr.service;

import com.attendance.www.hr.beans.ClosedBean;
import com.attendance.www.hr.beans.ClosedPageBean;

public interface IClosedService {

	/**
	 * 查询封账设置
	 * @return
	 */
	public ClosedPageBean getClosedPageList(Integer startNum,Integer pageCount);
	
	/**
	 * 验证封账是否存在
	 * @param closedBean
	 * @return
	 */
	public boolean saveClosedVerify(ClosedBean closedBean);
	
	/**
	 * 保存封账
	 * @param closedBean
	 * @return
	 */
	public boolean saveClosed(ClosedBean closedBean);

	/**
	 * 删除封账设置
	 * @param closedId
	 * @return
	 */
	public boolean deleteClosed(Integer closedId);
	
	/**
	 * 封账验证
	 * @param year
	 * @param month
	 * @return true 已封账
	 */
	public boolean verifyClosed(Integer year, Integer month);
}
